﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Linq.Mapping;

namespace Scheduling.Models.Repos.Database.Objects
{
    [Table(Name="Bookings")]
    public class DBBooking
    {
        [Column]
        public int ID { get; set; }

        [Column]
        public int? CourseInstanceID { get; set; }

        [Column]
        public string UserID { get; set; }

        [Column]
        public string RoomID { get; set; }

        [Column]
        public DateTime StartDate { get; set; }

        [Column]
        public DateTime EndDate { get; set; }
    }
}